import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/http.js'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/icons/index.js'
import '@/assets/iconfont/iconfont.css'
import '@/iconfont/iconfont.css'
import svgDot from './utils/svgdot'
import echarts from 'echarts'
import socketWeb from '@/utils/socketWeb'
import dataV from '@jiaminghi/data-view'
import './styles/yms.css'
// socketWeb.Instance.initConnect()
Vue.prototype.$socket = socketWeb.Instance
Vue.prototype.$set = Vue.set

Vue.prototype.$svgDot = svgDot
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(dataV)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
